
<!doctype html>
<html lang="zh" class="no-js">
  <head>
    
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      
      
      
        <link rel="canonical" href="https://github.tim-wcx.ltd/mkdocs/question/">
      
      
        <link rel="prev" href="../icpc/kuangbin%E6%A8%A1%E6%9D%BF/">
      
      
        <link rel="next" href="../course/%E5%9B%BE%E4%BC%98%E7%AE%97%E6%B3%95%E7%AC%94%E8%AE%B0/">
      
      <link rel="icon" href="../assets/images/favicon.png">
      <meta name="generator" content="mkdocs-1.4.3, mkdocs-material-9.1.13">
    
    
      
        <title>ICPC题单 - Tim-Wcx</title>
      
    
    
      <link rel="stylesheet" href="../assets/stylesheets/main.85bb2934.min.css">
      
        
        <link rel="stylesheet" href="../assets/stylesheets/palette.a6bdf11c.min.css">
      
      

    
    
    
      
        
        
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
        <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
      
    
    
    <script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
    
      

    
    
    
  </head>
  
  
    
    
      
    
    
    
    
    <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="cyan">
  
    
    
      <script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
    
    <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
    <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
    <label class="md-overlay" for="__drawer"></label>
    <div data-md-component="skip">
      
        
        <a href="#_1" class="md-skip">
          跳转至
        </a>
      
    </div>
    <div data-md-component="announce">
      
    </div>
    
    
      

<header class="md-header" data-md-component="header">
  <nav class="md-header__inner md-grid" aria-label="页眉">
    <a href=".." title="Tim-Wcx" class="md-header__button md-logo" aria-label="Tim-Wcx" data-md-component="logo">
      
  
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.5 9V1.5h-3V9h-3V1.5h-3V9h-3V1.5H4.65V9H3v1.5h18V9h-1.5m0 4.5h-3V21h-3v-7.5h-3V21h-3v-7.5H4.65V21H3v1.5h18V21h-1.5v-7.5Z"/></svg>

    </a>
    <label class="md-header__button md-icon" for="__drawer">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
    </label>
    <div class="md-header__title" data-md-component="header-title">
      <div class="md-header__ellipsis">
        <div class="md-header__topic">
          <span class="md-ellipsis">
            Tim-Wcx
          </span>
        </div>
        <div class="md-header__topic" data-md-component="header-topic">
          <span class="md-ellipsis">
            
              ICPC题单
            
          </span>
        </div>
      </div>
    </div>
    
      
        <form class="md-header__option" data-md-component="palette">
          
            
            
            
            <input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="cyan"  aria-label="切换至夜间模式"  type="radio" name="__palette" id="__palette_1">
            
              <label class="md-header__button md-icon" title="切换至夜间模式" for="__palette_2" hidden>
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z"/></svg>
              </label>
            
          
            
            
            
            <input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="black" data-md-color-accent="cyan"  aria-label="切换至日间模式"  type="radio" name="__palette" id="__palette_2">
            
              <label class="md-header__button md-icon" title="切换至日间模式" for="__palette_1" hidden>
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z"/></svg>
              </label>
            
          
        </form>
      
    
    
    
      <label class="md-header__button md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
      </label>
      <div class="md-search" data-md-component="search" role="dialog">
  <label class="md-search__overlay" for="__search"></label>
  <div class="md-search__inner" role="search">
    <form class="md-search__form" name="search">
      <input type="text" class="md-search__input" name="query" aria-label="搜索" placeholder="搜索" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
      <label class="md-search__icon md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
      </label>
      <nav class="md-search__options" aria-label="查找">
        
        <button type="reset" class="md-search__icon md-icon" title="清空当前内容" aria-label="清空当前内容" tabindex="-1">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
        </button>
      </nav>
      
    </form>
    <div class="md-search__output">
      <div class="md-search__scrollwrap" data-md-scrollfix>
        <div class="md-search-result" data-md-component="search-result">
          <div class="md-search-result__meta">
            正在初始化搜索引擎
          </div>
          <ol class="md-search-result__list" role="presentation"></ol>
        </div>
      </div>
    </div>
  </div>
</div>
    
    
  </nav>
  
</header>
    
    <div class="md-container" data-md-component="container">
      
      
        
          
            
<nav class="md-tabs" aria-label="标签" data-md-component="tabs">
  <div class="md-grid">
    <ul class="md-tabs__list">
      
        
  
  


  
  
  
    <li class="md-tabs__item">
      <a href="../problem/%E7%BB%84%E9%98%9F%E8%AE%AD%E7%BB%83%E8%B5%9B%EF%BC%88%E5%9B%9B%EF%BC%89/" class="md-tabs__link">
        ICPC题解
      </a>
    </li>
  

      
        
  
  


  
  
  
    <li class="md-tabs__item">
      <a href="../icpc/%E4%B8%AA%E4%BA%BA%E6%A8%A1%E6%9D%BF/" class="md-tabs__link">
        ICPC模板
      </a>
    </li>
  

      
        
  
  
    
  


  <li class="md-tabs__item">
    <a href="./" class="md-tabs__link md-tabs__link--active">
      ICPC题单
    </a>
  </li>

      
        
  
  


  
  
  
    <li class="md-tabs__item">
      <a href="../course/%E5%9B%BE%E4%BC%98%E7%AE%97%E6%B3%95%E7%AC%94%E8%AE%B0/" class="md-tabs__link">
        课程复习
      </a>
    </li>
  

      
        
  
  


  
  
  
    <li class="md-tabs__item">
      <a href="../csdn/2020-08-01/" class="md-tabs__link">
        csdn导出
      </a>
    </li>
  

      
        
  
  


  <li class="md-tabs__item">
    <a href="../plan/" class="md-tabs__link">
      个人计划
    </a>
  </li>

      
        
  
  


  <li class="md-tabs__item">
    <a href="../about/" class="md-tabs__link">
      关于
    </a>
  </li>

      
    </ul>
  </div>
</nav>
          
        
      
      <main class="md-main" data-md-component="main">
        <div class="md-main__inner md-grid">
          
            
              
              <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    

  


<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="导航栏" data-md-level="0">
  <label class="md-nav__title" for="__drawer">
    <a href=".." title="Tim-Wcx" class="md-nav__button md-logo" aria-label="Tim-Wcx" data-md-component="logo">
      
  
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.5 9V1.5h-3V9h-3V1.5h-3V9h-3V1.5H4.65V9H3v1.5h18V9h-1.5m0 4.5h-3V21h-3v-7.5h-3V21h-3v-7.5H4.65V21H3v1.5h18V21h-1.5v-7.5Z"/></svg>

    </a>
    Tim-Wcx
  </label>
  
  <ul class="md-nav__list" data-md-scrollfix>
    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1" >
      
      
      
        <label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="0">
          ICPC题解
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_1">
          <span class="md-nav__icon md-icon"></span>
          ICPC题解
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E7%BB%84%E9%98%9F%E8%AE%AD%E7%BB%83%E8%B5%9B%EF%BC%88%E5%9B%9B%EF%BC%89/" class="md-nav__link">
        组队训练赛（四）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E7%BB%84%E9%98%9F%E8%AE%AD%E7%BB%83%E8%B5%9B%EF%BC%88%E4%B8%89%EF%BC%89/" class="md-nav__link">
        组队训练赛（三）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E7%BB%84%E9%98%9F%E8%AE%AD%E7%BB%83%E8%B5%9B%EF%BC%88%E4%BA%8C%EF%BC%89/" class="md-nav__link">
        组队训练赛（二）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E7%BB%84%E9%98%9F%E8%AE%AD%E7%BB%83%E8%B5%9B%EF%BC%88%E4%B8%80%EF%BC%89/" class="md-nav__link">
        组队训练赛（一）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%E4%BA%94%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十五）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%E5%9B%9B%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十四）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%E4%B8%89%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十三）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%E4%BA%8C%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十二）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%E4%B8%80%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十一）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%8D%81%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（十）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E4%B9%9D%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（九）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%85%AB%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（八）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E4%B8%83%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（七）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%85%AD%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（六）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E4%BA%94%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（五）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E5%9B%9B%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（四）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E4%B8%89%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（三）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E7%B3%BB%E5%88%97%E9%A2%98%E8%A7%A3%EF%BC%88%E4%BA%8C%EF%BC%89/" class="md-nav__link">
        暑假集训系列题解（二）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/%E6%9A%91%E5%81%87%E9%9B%86%E8%AE%AD%E9%A2%98%E8%A7%A3%E7%B3%BB%E5%88%97%EF%BC%88%E4%B8%80%EF%BC%89/" class="md-nav__link">
        暑假集训题解系列（一）
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-02-2%E6%9C%882%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-02-2月2日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-07-2%E6%9C%887%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-07-2月7日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-02-2%E6%9C%882%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-02-2月2日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-07-2%E6%9C%887%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-07-2月7日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-08-2%E6%9C%888%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-08-2月8日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-09-2%E6%9C%889%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-09-2月9日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-12-%E5%AE%89%E5%8D%93%E8%AF%BE%E8%A1%A8%E5%AE%A2%E6%88%B7%E7%AB%AF%2B%E6%9C%8D%E5%8A%A1%E7%AB%AF%E6%B3%A8%E8%A7%A3/" class="md-nav__link">
        2021-02-12-安卓课表客户端+服务端注解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-16-2%E6%9C%8816%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-16-2月16日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-19-2%E6%9C%8819%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-19-2月19日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-20-2%E6%9C%8820%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-20-2月20日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-22-2%E6%9C%8822%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-22-2月22日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-24-2%E6%9C%8824%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-24-2月24日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-02-28-2%E6%9C%8828%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-02-28-2月28日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-03-02-3%E6%9C%882%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-03-02-3月2日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-03-07-3%E6%9C%887%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-03-07-3月7日题解
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-03-09-%E6%95%B0%E8%AE%BA/" class="md-nav__link">
        2021-03-09-数论
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../problem/2021-06-05-6%E6%9C%885%E6%97%A5%E9%A2%98%E8%A7%A3/" class="md-nav__link">
        2021-06-05-6月5日题解
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
      
      
      
        <label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0">
          ICPC模板
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_2">
          <span class="md-nav__icon md-icon"></span>
          ICPC模板
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../icpc/%E4%B8%AA%E4%BA%BA%E6%A8%A1%E6%9D%BF/" class="md-nav__link">
        个人模板
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../icpc/kuangbin%E6%A8%A1%E6%9D%BF/" class="md-nav__link">
        kuangbin模板
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
    
  
  
    <li class="md-nav__item md-nav__item--active">
      
      <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
      
      
        
      
      
        <label class="md-nav__link md-nav__link--active" for="__toc">
          ICPC题单
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <a href="./" class="md-nav__link md-nav__link--active">
        ICPC题单
      </a>
      
        

<nav class="md-nav md-nav--secondary" aria-label="目录">
  
  
  
    
  
  
    <label class="md-nav__title" for="__toc">
      <span class="md-nav__icon md-icon"></span>
      目录
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#2021" class="md-nav__link">
    2021秋组队训练赛第十八场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十八场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-radio-prize" class="md-nav__link">
    问题 A: Radio Prize
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-perfect-flush" class="md-nav__link">
    问题 B: Perfect Flush
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-coloring-contention" class="md-nav__link">
    问题 C: Coloring Contention
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-party-invitations" class="md-nav__link">
    问题 L: Party Invitations
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-liars-and-truth-tellers" class="md-nav__link">
    问题 M: Liars and Truth Tellers
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-seating" class="md-nav__link">
    问题 K: Seating
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-interstellar-travel" class="md-nav__link">
    问题 J: Interstellar Travel
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_1" class="md-nav__link">
    2021秋组队训练赛第十五场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十五场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-almost-origami" class="md-nav__link">
    问题 A: Almost Origami
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-dividing-candy" class="md-nav__link">
    问题 D: Dividing Candy
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-crisis-at-the-wedding" class="md-nav__link">
    问题 C: Crisis at the Wedding
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-excellent-views" class="md-nav__link">
    问题 E: Excellent Views
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-halting-wolf" class="md-nav__link">
    问题 H: Halting Wolf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-job-allocator" class="md-nav__link">
    问题 J: Job Allocator
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-fascinating-partitions" class="md-nav__link">
    问题 F: Fascinating Partitions
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_2" class="md-nav__link">
    2021秋组队训练赛第十二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#j-tree-constructer" class="md-nav__link">
    问题 J: Tree Constructer
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-fight-against-involution" class="md-nav__link">
    问题 D: Fight against involution
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-xor-transformation" class="md-nav__link">
    问题 G: Xor Transformation
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-matrix-equation" class="md-nav__link">
    问题 A: Matrix Equation
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_3" class="md-nav__link">
    2021秋组队训练赛第十四场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十四场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c-hakase-and-nano" class="md-nav__link">
    问题 C: Hakase and Nano
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-master-of-phi" class="md-nav__link">
    问题 B: Master of Phi
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-master-of-sequence" class="md-nav__link">
    问题 K: Master of Sequence
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-master-of-random" class="md-nav__link">
    问题 D: Master of Random
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_4" class="md-nav__link">
    2021秋组队训练赛第十二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#j-tree-constructer_1" class="md-nav__link">
    问题 J: Tree Constructer
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-fight-against-involution_1" class="md-nav__link">
    问题 D: Fight against involution
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-xor-transformation_1" class="md-nav__link">
    问题 G: Xor Transformation
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-matrix-equation_1" class="md-nav__link">
    问题 A: Matrix Equation
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_5" class="md-nav__link">
    2021秋组队训练赛第十一场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十一场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#b-collatz-conjecture" class="md-nav__link">
    问题 B: Collatz Conjecture
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-hoarse-horses" class="md-nav__link">
    问题 G: Hoarse Horses
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-lemonade-trade" class="md-nav__link">
    问题 K: Lemonade Trade
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-manhattan-mornings" class="md-nav__link">
    问题 L: Manhattan Mornings
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-irrational-division" class="md-nav__link">
    问题 H: Irrational Division
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_6" class="md-nav__link">
    2021秋组队训练赛第九场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第九场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#h-prime-set" class="md-nav__link">
    问题 H: Prime Set
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-numbersi" class="md-nav__link">
    问题 G: NumbersI
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-crusaders-quest" class="md-nav__link">
    问题 C: Crusaders Quest
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-string-of-ccpc" class="md-nav__link">
    问题 E: String of CCPC
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-one-dimensional-maze" class="md-nav__link">
    问题 L: One-Dimensional Maze
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-balloon-robot" class="md-nav__link">
    问题 A: Balloon Robot
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-safest-buildings" class="md-nav__link">
    问题 M: Safest Buildings
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_7" class="md-nav__link">
    2021秋组队训练赛第八场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第八场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-hopscotch" class="md-nav__link">
    问题 F: Hopscotch
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-letter-wheels" class="md-nav__link">
    问题 H: Letter Wheels
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-icpc-camp" class="md-nav__link">
    问题 G: ICPC Camp
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-rooted-subtrees" class="md-nav__link">
    问题 K: Rooted Subtrees
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-mini-battleship" class="md-nav__link">
    问题 B: Mini Battleship
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-all-kill" class="md-nav__link">
    问题 D: All Kill
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_8" class="md-nav__link">
    2021秋组队训练赛第七场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第七场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-anagram" class="md-nav__link">
    问题 A: Anagram
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-cities" class="md-nav__link">
    问题 C: Cities
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-four-tuples" class="md-nav__link">
    问题 F: Four-tuples
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-bullet" class="md-nav__link">
    问题 B: Bullet
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-games" class="md-nav__link">
    问题 G: Games
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_9" class="md-nav__link">
    2021秋组队训练赛第六场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第六场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#l-mixtape-management" class="md-nav__link">
    问题 L: Mixtape Management
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-adolescent-architecture" class="md-nav__link">
    问题 A: Adolescent Architecture
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-bookshelf-building" class="md-nav__link">
    问题 B: Bookshelf Building
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-knightly-knowledge" class="md-nav__link">
    问题 J: Knightly Knowledge
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-lexicographical-lecturing" class="md-nav__link">
    问题 K: Lexicographical Lecturing
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-decorative-dominoes" class="md-nav__link">
    问题 C: Decorative Dominoes
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-gravity-grid" class="md-nav__link">
    问题 F: Gravity Grid
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_10" class="md-nav__link">
    2021秋组队训练赛第五场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第五场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c-safe-distance" class="md-nav__link">
    问题 C: Safe Distance
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-decoration" class="md-nav__link">
    问题 G: Decoration
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-emails" class="md-nav__link">
    问题 I: Emails
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-unique-activities" class="md-nav__link">
    问题 K: Unique Activities
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_11" class="md-nav__link">
    2021秋组队训练赛第四场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第四场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-fair-distribution" class="md-nav__link">
    问题 F: Fair Distribution
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_12" class="md-nav__link">
    2021秋组队训练赛第三场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第三场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#e-interview-queue" class="md-nav__link">
    问题 E: Interview Queue
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-conquest" class="md-nav__link">
    问题 F: Conquest
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-antimatter-rain" class="md-nav__link">
    问题 H: Antimatter Rain
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-pegs-and-legs" class="md-nav__link">
    问题 J: Pegs and Legs
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_13" class="md-nav__link">
    2021秋组队训练赛第二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-three-axis-views" class="md-nav__link">
    问题 A: Three-Axis Views
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-secrets-of-legendary-treasure" class="md-nav__link">
    问题 B: Secrets of Legendary Treasure
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-jewelry-size" class="md-nav__link">
    问题 E: Jewelry Size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-to-be-connected-or-not-to-be-that-is-the-question" class="md-nav__link">
    问题 G: To be Connected, or not to be, that is the Question
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-lcm-of-gcds" class="md-nav__link">
    问题 H: LCM of GCDs
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-high-tech-detective" class="md-nav__link">
    问题 I: High-Tech Detective
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-formica-sokobanica" class="md-nav__link">
    问题 J: Formica Sokobanica
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_14" class="md-nav__link">
    2021秋组队训练赛第一场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第一场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-agamemnons-odyssey" class="md-nav__link">
    问题 F: Agamemnon’s Odyssey
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-substring-characters" class="md-nav__link">
    问题 D: Substring Characters
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-ada-loveslaces" class="md-nav__link">
    问题 J: Ada Loveslaces
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-staggering-to-the-finish" class="md-nav__link">
    问题 I: Staggering to the Finish
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-icpc-record-matching" class="md-nav__link">
    问题 K: ICPC Record Matching
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-logdb" class="md-nav__link">
    问题 A: LogDB
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-ride-hailing" class="md-nav__link">
    问题 B: Ride-Hailing
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202152" class="md-nav__link">
    2021个人训练赛第52场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第52场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c" class="md-nav__link">
    问题 C: 抢占城堡
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h" class="md-nav__link">
    问题 H: 包含
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-gcd" class="md-nav__link">
    问题 K: GCD
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b" class="md-nav__link">
    问题 B: 放牛奶的冰箱
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-reverse-and-compare" class="md-nav__link">
    问题 I: Reverse and Compare
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-fountain-walk" class="md-nav__link">
    问题 J: Fountain Walk
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202151" class="md-nav__link">
    2021个人训练赛第51场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第51场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#b-getting-difference" class="md-nav__link">
    问题 B: Getting Difference
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c_1" class="md-nav__link">
    问题 C: 野牛与狼
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d" class="md-nav__link">
    问题 D: 老死不相往来
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-cow-lineup-i" class="md-nav__link">
    问题 G: Cow Lineup I
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-painting-the-fence" class="md-nav__link">
    问题 K: Painting the Fence
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202150" class="md-nav__link">
    2021个人训练赛第50场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第50场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c_2" class="md-nav__link">
    问题 C: 牛牛的方程式
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-milk-routing" class="md-nav__link">
    问题 M: Milk Routing
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d_1" class="md-nav__link">
    问题 D: 牛牛的猜球游戏
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-lh" class="md-nav__link">
    问题 A: LH 撸串串
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-moderate-differences" class="md-nav__link">
    问题 J: Moderate Differences
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-biscuits" class="md-nav__link">
    问题 K: Biscuits
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202149" class="md-nav__link">
    2021个人训练赛第49场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第49场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-rectangle" class="md-nav__link">
    问题 A: +/- Rectangle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-wifi-setup" class="md-nav__link">
    问题 H: Wifi Setup
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-shrinking" class="md-nav__link">
    问题 J: Shrinking
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-colorful-hats" class="md-nav__link">
    问题 G: Colorful Hats
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-scrambled-letters" class="md-nav__link">
    问题 D: Scrambled Letters
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202148" class="md-nav__link">
    2021个人训练赛第48场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第48场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f" class="md-nav__link">
    问题F：括号序列
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-a-oror-b-problem" class="md-nav__link">
    问题 L: A or...or B Problem
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-nuske-vs-phantom-thnook" class="md-nav__link">
    问题 H: Nuske vs Phantom Thnook
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k" class="md-nav__link">
    问题 K: 字母金字塔
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
    </ul>
  
</nav>
      
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
      
      
      
        <label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
          课程复习
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_4">
          <span class="md-nav__icon md-icon"></span>
          课程复习
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E5%9B%BE%E4%BC%98%E7%AE%97%E6%B3%95%E7%AC%94%E8%AE%B0/" class="md-nav__link">
        图优算法笔记
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E5%8D%9A%E6%B5%81WIFI%E8%B5%84%E6%96%99/" class="md-nav__link">
        博流WIFI资料
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E6%95%B0%E5%AD%97%E5%9B%BE%E5%83%8F%E5%A4%84%E7%90%86/" class="md-nav__link">
        数字图像处理
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E7%8E%B0%E4%BB%A3%E5%AF%86%E7%A0%81%E5%AD%A6/" class="md-nav__link">
        现代密码学
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E8%BD%AF%E4%BB%B6%E5%B7%A5%E7%A8%8B/" class="md-nav__link">
        软件工程
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9B%BE%E5%BD%A2%E5%AD%A6/" class="md-nav__link">
        计算机图形学
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E8%AE%A1%E7%AE%97%E6%9C%BA%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/" class="md-nav__link">
        计算机操作系统
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/%E5%8D%95%E7%89%87%E6%9C%BA/" class="md-nav__link">
        单片机
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/PDF%E5%88%92%E8%AF%8D%E7%BF%BB%E8%AF%91/" class="md-nav__link">
        PDF划词翻译
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/make/" class="md-nav__link">
        makefile学习笔记
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../course/RT_Smart%E4%B8%ADminizip%E7%A7%BB%E6%A4%8D%E8%AE%B0%E5%BD%95/" class="md-nav__link">
        RT_Smart中minizip移植记录
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
      
      
      
        <label class="md-nav__link" for="__nav_5" id="__nav_5_label" tabindex="0">
          csdn导出
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5">
          <span class="md-nav__icon md-icon"></span>
          csdn导出
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-01/" class="md-nav__link">
        2020-08-01
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-02%E7%BA%BF%E6%AE%B5%E6%A0%91/" class="md-nav__link">
        2020-08-02线段树
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-03/" class="md-nav__link">
        2020-08-03
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-04/" class="md-nav__link">
        2020-08-04
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-05/" class="md-nav__link">
        2020-08-05
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-06%E7%BA%BF%E6%AE%B5%E6%A0%91/" class="md-nav__link">
        2020-08-06线段树
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-07/" class="md-nav__link">
        2020-08-07
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-08/" class="md-nav__link">
        2020-08-08
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-09/" class="md-nav__link">
        2020-08-09
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-10/" class="md-nav__link">
        2020-08-10
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-11/" class="md-nav__link">
        2020-08-11
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-12%E6%AC%A7%E6%8B%89%E5%87%BD%E6%95%B0/" class="md-nav__link">
        2020-08-12欧拉函数
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-13/" class="md-nav__link">
        2020-08-13
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-14/" class="md-nav__link">
        2020-08-14
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-16%E6%A0%91%E5%BD%A2DP%E7%AD%89%E5%B7%AE%E6%95%B0%E5%88%97%E5%89%8D%E7%BC%80%E5%92%8C/" class="md-nav__link">
        2020-08-16树形DP等差数列前缀和
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-17/" class="md-nav__link">
        2020-08-17
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-18/" class="md-nav__link">
        2020-08-18
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-19/" class="md-nav__link">
        2020-08-19
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-20/" class="md-nav__link">
        2020-08-20
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-08-21/" class="md-nav__link">
        2020-08-21
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-05%E5%88%92%E5%88%86%E6%A0%91%E6%B1%82%E6%9F%90%E4%B8%80%E5%8C%BA%E9%97%B4%E7%9A%84%E4%B8%AD%E4%BD%8D%E6%95%B0/" class="md-nav__link">
        2020-09-05划分树求某一区间的中位数
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-07/" class="md-nav__link">
        2020-09-07
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-08%E4%BA%8C%E5%88%86%E6%9C%80%E5%B0%8F%E7%94%9F%E6%88%90%E6%A0%91/" class="md-nav__link">
        2020-09-08二分最小生成树
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-08%E6%95%B0%E4%BD%8DDP%E4%BA%8C%E5%88%86/" class="md-nav__link">
        2020-09-08数位DP二分
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-09%E6%95%B0%E4%BD%8DDP/" class="md-nav__link">
        2020-09-09数位DP
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-11%E6%A0%91%E7%8A%B6%E6%95%B0%E7%BB%84%E6%B1%82%E6%9C%80%E5%A4%A7%E5%80%BC/" class="md-nav__link">
        2020-09-11树状数组求最大值
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-12%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%93%88%E5%B8%8C/" class="md-nav__link">
        2020-09-12字符串哈希
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-12/" class="md-nav__link">
        2020-09-12
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-21%E5%87%B8%E5%8C%85%E7%AE%97%E6%B3%95/" class="md-nav__link">
        2020-09-21凸包算法
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-23%E6%A0%91%E7%8A%B6%E6%95%B0%E7%BB%84/" class="md-nav__link">
        2020-09-23树状数组
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-09-26%E6%9C%80%E5%B0%8F%E8%B4%B9%E7%94%A8%E6%9C%80%E5%A4%A7%E6%B5%81%E9%97%AE%E9%A2%98/" class="md-nav__link">
        2020-09-26最小费用最大流问题
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-10-04%E7%BA%BF%E6%AE%B5%E6%A0%91%E6%89%AB%E6%8F%8F%E7%BA%BF/" class="md-nav__link">
        2020-10-04线段树扫描线
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-10-05/" class="md-nav__link">
        2020-10-05
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-10-07%E5%B9%B6%E6%9F%A5%E9%9B%86%E5%90%AF%E5%8F%91%E5%BC%8F%E5%90%88%E5%B9%B6/" class="md-nav__link">
        2020-10-07并查集启发式合并
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-10-15dsuontree/" class="md-nav__link">
        2020-10-15dsuontree
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-11-23/" class="md-nav__link">
        2020-11-23
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-12-02/" class="md-nav__link">
        2020-12-02
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2020-7-31/" class="md-nav__link">
        2020-7-31
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2021-02-02/" class="md-nav__link">
        2021-02-02
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/2021-02-24/" class="md-nav__link">
        2021-02-24
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/Beyond_compare4_30%E5%A4%A9%E8%AF%95%E7%94%A8%E8%BF%87%E6%9C%9F/" class="md-nav__link">
        Beyondcompare430天试用过期
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/GitHub%E5%8D%9A%E5%AE%A2/" class="md-nav__link">
        GitHub博客
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E4%BA%8C%E5%88%86%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E6%A8%A1%E6%9D%BF/" class="md-nav__link">
        二分二分查找模板
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E5%BC%82%E6%88%96%E6%B1%82%E5%92%8C%E5%BC%8F/" class="md-nav__link">
        异或求和式
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E6%B1%82%E7%BB%84%E5%90%88%E6%95%B0%E7%9A%84%E6%96%B9%E6%B3%95/" class="md-nav__link">
        求组合数的方法
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E6%B1%82%E9%80%86%E5%BA%8F%E5%AF%B9/" class="md-nav__link">
        求逆序对
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E7%AE%80%E4%BB%8B%E6%89%A9%E5%B1%95%E6%AC%A7%E5%87%A0%E9%87%8C%E5%BE%B7%E5%AE%9A%E7%90%86/" class="md-nav__link">
        简介扩展欧几里德定理
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../csdn/%E9%93%BE%E8%A1%A8/" class="md-nav__link">
        链表
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../plan/" class="md-nav__link">
        个人计划
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../about/" class="md-nav__link">
        关于
      </a>
    </li>
  

    
  </ul>
</nav>
                  </div>
                </div>
              </div>
            
            
              
              <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    

<nav class="md-nav md-nav--secondary" aria-label="目录">
  
  
  
    
  
  
    <label class="md-nav__title" for="__toc">
      <span class="md-nav__icon md-icon"></span>
      目录
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#2021" class="md-nav__link">
    2021秋组队训练赛第十八场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十八场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-radio-prize" class="md-nav__link">
    问题 A: Radio Prize
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-perfect-flush" class="md-nav__link">
    问题 B: Perfect Flush
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-coloring-contention" class="md-nav__link">
    问题 C: Coloring Contention
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-party-invitations" class="md-nav__link">
    问题 L: Party Invitations
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-liars-and-truth-tellers" class="md-nav__link">
    问题 M: Liars and Truth Tellers
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-seating" class="md-nav__link">
    问题 K: Seating
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-interstellar-travel" class="md-nav__link">
    问题 J: Interstellar Travel
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_1" class="md-nav__link">
    2021秋组队训练赛第十五场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十五场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-almost-origami" class="md-nav__link">
    问题 A: Almost Origami
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-dividing-candy" class="md-nav__link">
    问题 D: Dividing Candy
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-crisis-at-the-wedding" class="md-nav__link">
    问题 C: Crisis at the Wedding
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-excellent-views" class="md-nav__link">
    问题 E: Excellent Views
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-halting-wolf" class="md-nav__link">
    问题 H: Halting Wolf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-job-allocator" class="md-nav__link">
    问题 J: Job Allocator
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-fascinating-partitions" class="md-nav__link">
    问题 F: Fascinating Partitions
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_2" class="md-nav__link">
    2021秋组队训练赛第十二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#j-tree-constructer" class="md-nav__link">
    问题 J: Tree Constructer
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-fight-against-involution" class="md-nav__link">
    问题 D: Fight against involution
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-xor-transformation" class="md-nav__link">
    问题 G: Xor Transformation
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-matrix-equation" class="md-nav__link">
    问题 A: Matrix Equation
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_3" class="md-nav__link">
    2021秋组队训练赛第十四场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十四场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c-hakase-and-nano" class="md-nav__link">
    问题 C: Hakase and Nano
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-master-of-phi" class="md-nav__link">
    问题 B: Master of Phi
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-master-of-sequence" class="md-nav__link">
    问题 K: Master of Sequence
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-master-of-random" class="md-nav__link">
    问题 D: Master of Random
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_4" class="md-nav__link">
    2021秋组队训练赛第十二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#j-tree-constructer_1" class="md-nav__link">
    问题 J: Tree Constructer
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-fight-against-involution_1" class="md-nav__link">
    问题 D: Fight against involution
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-xor-transformation_1" class="md-nav__link">
    问题 G: Xor Transformation
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-matrix-equation_1" class="md-nav__link">
    问题 A: Matrix Equation
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_5" class="md-nav__link">
    2021秋组队训练赛第十一场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第十一场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#b-collatz-conjecture" class="md-nav__link">
    问题 B: Collatz Conjecture
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-hoarse-horses" class="md-nav__link">
    问题 G: Hoarse Horses
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-lemonade-trade" class="md-nav__link">
    问题 K: Lemonade Trade
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-manhattan-mornings" class="md-nav__link">
    问题 L: Manhattan Mornings
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-irrational-division" class="md-nav__link">
    问题 H: Irrational Division
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_6" class="md-nav__link">
    2021秋组队训练赛第九场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第九场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#h-prime-set" class="md-nav__link">
    问题 H: Prime Set
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-numbersi" class="md-nav__link">
    问题 G: NumbersI
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-crusaders-quest" class="md-nav__link">
    问题 C: Crusaders Quest
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-string-of-ccpc" class="md-nav__link">
    问题 E: String of CCPC
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-one-dimensional-maze" class="md-nav__link">
    问题 L: One-Dimensional Maze
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-balloon-robot" class="md-nav__link">
    问题 A: Balloon Robot
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-safest-buildings" class="md-nav__link">
    问题 M: Safest Buildings
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_7" class="md-nav__link">
    2021秋组队训练赛第八场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第八场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-hopscotch" class="md-nav__link">
    问题 F: Hopscotch
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-letter-wheels" class="md-nav__link">
    问题 H: Letter Wheels
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-icpc-camp" class="md-nav__link">
    问题 G: ICPC Camp
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-rooted-subtrees" class="md-nav__link">
    问题 K: Rooted Subtrees
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-mini-battleship" class="md-nav__link">
    问题 B: Mini Battleship
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-all-kill" class="md-nav__link">
    问题 D: All Kill
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_8" class="md-nav__link">
    2021秋组队训练赛第七场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第七场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-anagram" class="md-nav__link">
    问题 A: Anagram
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-cities" class="md-nav__link">
    问题 C: Cities
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-four-tuples" class="md-nav__link">
    问题 F: Four-tuples
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-bullet" class="md-nav__link">
    问题 B: Bullet
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-games" class="md-nav__link">
    问题 G: Games
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_9" class="md-nav__link">
    2021秋组队训练赛第六场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第六场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#l-mixtape-management" class="md-nav__link">
    问题 L: Mixtape Management
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-adolescent-architecture" class="md-nav__link">
    问题 A: Adolescent Architecture
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-bookshelf-building" class="md-nav__link">
    问题 B: Bookshelf Building
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-knightly-knowledge" class="md-nav__link">
    问题 J: Knightly Knowledge
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-lexicographical-lecturing" class="md-nav__link">
    问题 K: Lexicographical Lecturing
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c-decorative-dominoes" class="md-nav__link">
    问题 C: Decorative Dominoes
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-gravity-grid" class="md-nav__link">
    问题 F: Gravity Grid
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_10" class="md-nav__link">
    2021秋组队训练赛第五场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第五场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c-safe-distance" class="md-nav__link">
    问题 C: Safe Distance
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-decoration" class="md-nav__link">
    问题 G: Decoration
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-emails" class="md-nav__link">
    问题 I: Emails
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-unique-activities" class="md-nav__link">
    问题 K: Unique Activities
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_11" class="md-nav__link">
    2021秋组队训练赛第四场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第四场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-fair-distribution" class="md-nav__link">
    问题 F: Fair Distribution
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_12" class="md-nav__link">
    2021秋组队训练赛第三场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第三场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#e-interview-queue" class="md-nav__link">
    问题 E: Interview Queue
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#f-conquest" class="md-nav__link">
    问题 F: Conquest
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-antimatter-rain" class="md-nav__link">
    问题 H: Antimatter Rain
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-pegs-and-legs" class="md-nav__link">
    问题 J: Pegs and Legs
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_13" class="md-nav__link">
    2021秋组队训练赛第二场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第二场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-three-axis-views" class="md-nav__link">
    问题 A: Three-Axis Views
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-secrets-of-legendary-treasure" class="md-nav__link">
    问题 B: Secrets of Legendary Treasure
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#e-jewelry-size" class="md-nav__link">
    问题 E: Jewelry Size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-to-be-connected-or-not-to-be-that-is-the-question" class="md-nav__link">
    问题 G: To be Connected, or not to be, that is the Question
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-lcm-of-gcds" class="md-nav__link">
    问题 H: LCM of GCDs
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-high-tech-detective" class="md-nav__link">
    问题 I: High-Tech Detective
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-formica-sokobanica" class="md-nav__link">
    问题 J: Formica Sokobanica
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#2021_14" class="md-nav__link">
    2021秋组队训练赛第一场
  </a>
  
    <nav class="md-nav" aria-label="2021秋组队训练赛第一场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f-agamemnons-odyssey" class="md-nav__link">
    问题 F: Agamemnon’s Odyssey
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-substring-characters" class="md-nav__link">
    问题 D: Substring Characters
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-ada-loveslaces" class="md-nav__link">
    问题 J: Ada Loveslaces
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-staggering-to-the-finish" class="md-nav__link">
    问题 I: Staggering to the Finish
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-icpc-record-matching" class="md-nav__link">
    问题 K: ICPC Record Matching
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-logdb" class="md-nav__link">
    问题 A: LogDB
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b-ride-hailing" class="md-nav__link">
    问题 B: Ride-Hailing
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202152" class="md-nav__link">
    2021个人训练赛第52场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第52场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c" class="md-nav__link">
    问题 C: 抢占城堡
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h" class="md-nav__link">
    问题 H: 包含
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-gcd" class="md-nav__link">
    问题 K: GCD
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#b" class="md-nav__link">
    问题 B: 放牛奶的冰箱
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#i-reverse-and-compare" class="md-nav__link">
    问题 I: Reverse and Compare
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-fountain-walk" class="md-nav__link">
    问题 J: Fountain Walk
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202151" class="md-nav__link">
    2021个人训练赛第51场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第51场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#b-getting-difference" class="md-nav__link">
    问题 B: Getting Difference
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#c_1" class="md-nav__link">
    问题 C: 野牛与狼
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d" class="md-nav__link">
    问题 D: 老死不相往来
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-cow-lineup-i" class="md-nav__link">
    问题 G: Cow Lineup I
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-painting-the-fence" class="md-nav__link">
    问题 K: Painting the Fence
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202150" class="md-nav__link">
    2021个人训练赛第50场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第50场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#c_2" class="md-nav__link">
    问题 C: 牛牛的方程式
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#m-milk-routing" class="md-nav__link">
    问题 M: Milk Routing
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d_1" class="md-nav__link">
    问题 D: 牛牛的猜球游戏
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#a-lh" class="md-nav__link">
    问题 A: LH 撸串串
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-moderate-differences" class="md-nav__link">
    问题 J: Moderate Differences
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k-biscuits" class="md-nav__link">
    问题 K: Biscuits
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202149" class="md-nav__link">
    2021个人训练赛第49场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第49场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#a-rectangle" class="md-nav__link">
    问题 A: +/- Rectangle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-wifi-setup" class="md-nav__link">
    问题 H: Wifi Setup
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#j-shrinking" class="md-nav__link">
    问题 J: Shrinking
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#g-colorful-hats" class="md-nav__link">
    问题 G: Colorful Hats
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#d-scrambled-letters" class="md-nav__link">
    问题 D: Scrambled Letters
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#202148" class="md-nav__link">
    2021个人训练赛第48场
  </a>
  
    <nav class="md-nav" aria-label="2021个人训练赛第48场">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#f" class="md-nav__link">
    问题F：括号序列
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#l-a-oror-b-problem" class="md-nav__link">
    问题 L: A or...or B Problem
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#h-nuske-vs-phantom-thnook" class="md-nav__link">
    问题 H: Nuske vs Phantom Thnook
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#k" class="md-nav__link">
    问题 K: 字母金字塔
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
    </ul>
  
</nav>
                  </div>
                </div>
              </div>
            
          
          
            <div class="md-content" data-md-component="content">
              <article class="md-content__inner md-typeset">
                
                  


<h1 id="_1">题单<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h1>
<h4 id="2021">2021秋组队训练赛第十八场<a class="headerlink" href="#2021" title="Permanent link">&para;</a></h4>
<h5 id="a-radio-prize"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=0">问题 A: Radio Prize</a><a class="headerlink" href="#a-radio-prize" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：树上DP</li>
</ul>
<h5 id="b-perfect-flush"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=1">问题 B: Perfect Flush</a><a class="headerlink" href="#b-perfect-flush" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：模拟</li>
</ul>
<h5 id="c-coloring-contention"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=2">问题 C: Coloring Contention</a><a class="headerlink" href="#c-coloring-contention" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：模拟</li>
</ul>
<h5 id="l-party-invitations"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=11">问题 L: Party Invitations</a><a class="headerlink" href="#l-party-invitations" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：BFS</li>
</ul>
<h5 id="m-liars-and-truth-tellers"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=12">问题 M: Liars and Truth Tellers</a><a class="headerlink" href="#m-liars-and-truth-tellers" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：并查集</li>
</ul>
<h5 id="k-seating"><a href="http://icpc.upc.edu.cn/problem.php?cid=2987&amp;pid=10">问题 K: Seating</a><a class="headerlink" href="#k-seating" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：线段树维护前缀</li>
</ul>
<h5 id="j-interstellar-travel"><a href="http://icpc.upc.edu.cn/problem.php?cid=2988&amp;pid=9">问题 J: Interstellar Travel</a><a class="headerlink" href="#j-interstellar-travel" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：差分</li>
</ul>
<h4 id="2021_1">2021秋组队训练赛第十五场<a class="headerlink" href="#2021_1" title="Permanent link">&para;</a></h4>
<h5 id="a-almost-origami"><a href="http://icpc.upc.edu.cn/problem.php?cid=2970&amp;pid=0">问题 A: Almost Origami</a><a class="headerlink" href="#a-almost-origami" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：计算几何</li>
</ul>
<h5 id="d-dividing-candy"><a href="http://icpc.upc.edu.cn/problem.php?cid=2970&amp;pid=3">问题 D: Dividing Candy</a><a class="headerlink" href="#d-dividing-candy" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：模拟</li>
</ul>
<h5 id="c-crisis-at-the-wedding"><a href="http://icpc.upc.edu.cn/problem.php?cid=2970&amp;pid=2">问题 C: Crisis at the Wedding</a><a class="headerlink" href="#c-crisis-at-the-wedding" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：模拟</li>
</ul>
<h5 id="e-excellent-views"><a href="http://icpc.upc.edu.cn/problem.php?cid=2971&amp;pid=4">问题 E: Excellent Views</a><a class="headerlink" href="#e-excellent-views" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：单调栈</li>
</ul>
<h5 id="h-halting-wolf"><a href="http://icpc.upc.edu.cn/problem.php?cid=2971&amp;pid=7">问题 H: Halting Wolf</a><a class="headerlink" href="#h-halting-wolf" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：网络流</li>
</ul>
<h5 id="j-job-allocator"><a href="http://icpc.upc.edu.cn/problem.php?cid=2971&amp;pid=9">问题 J: Job Allocator</a><a class="headerlink" href="#j-job-allocator" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：暴力枚举</li>
</ul>
<h5 id="f-fascinating-partitions"><a href="http://icpc.upc.edu.cn/problem.php?cid=2971&amp;pid=5">问题 F: Fascinating Partitions</a><a class="headerlink" href="#f-fascinating-partitions" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：DP+优化</li>
</ul>
<h4 id="2021_2">2021秋组队训练赛第十二场<a class="headerlink" href="#2021_2" title="Permanent link">&para;</a></h4>
<h5 id="j-tree-constructer"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=9">问题 J: Tree Constructer</a><a class="headerlink" href="#j-tree-constructer" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：二分图</li>
</ul>
<h5 id="d-fight-against-involution"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=3">问题 D: Fight against involution</a><a class="headerlink" href="#d-fight-against-involution" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：贪心</li>
</ul>
<h5 id="g-xor-transformation"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=6">问题 G: Xor Transformation</a><a class="headerlink" href="#g-xor-transformation" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：构造</li>
</ul>
<h5 id="a-matrix-equation"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=0">问题 A: Matrix Equation</a><a class="headerlink" href="#a-matrix-equation" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：线性代数--高斯消元法</li>
</ul>
<h4 id="2021_3">2021秋组队训练赛第十四场<a class="headerlink" href="#2021_3" title="Permanent link">&para;</a></h4>
<h5 id="c-hakase-and-nano"><a href="http://icpc.upc.edu.cn/problem.php?cid=2969&amp;pid=2">问题 C: Hakase and Nano</a><a class="headerlink" href="#c-hakase-and-nano" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：博弈论</li>
</ul>
<h5 id="b-master-of-phi"><a href="http://icpc.upc.edu.cn/problem.php?cid=2968&amp;pid=1">问题 B: Master of Phi</a><a class="headerlink" href="#b-master-of-phi" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：数论（欧拉定理）</li>
</ul>
<h5 id="k-master-of-sequence"><a href="http://icpc.upc.edu.cn/problem.php?cid=2969&amp;pid=10">问题 K: Master of Sequence</a><a class="headerlink" href="#k-master-of-sequence" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：随机化</li>
</ul>
<h5 id="d-master-of-random"><a href="http://icpc.upc.edu.cn/problem.php?cid=2969&amp;pid=3">问题 D: Master of Random</a><a class="headerlink" href="#d-master-of-random" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：规律</li>
</ul>
<h4 id="2021_4">2021秋组队训练赛第十二场<a class="headerlink" href="#2021_4" title="Permanent link">&para;</a></h4>
<h5 id="j-tree-constructer_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=9">问题 J: Tree Constructer</a><a class="headerlink" href="#j-tree-constructer_1" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：二分图</li>
</ul>
<h5 id="d-fight-against-involution_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=3">问题 D: Fight against involution</a><a class="headerlink" href="#d-fight-against-involution_1" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：贪心</li>
</ul>
<h5 id="g-xor-transformation_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=6">问题 G: Xor Transformation</a><a class="headerlink" href="#g-xor-transformation_1" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：构造</li>
</ul>
<h5 id="a-matrix-equation_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2974&amp;pid=0">问题 A: Matrix Equation</a><a class="headerlink" href="#a-matrix-equation_1" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：线性代数--高斯消元法</li>
</ul>
<h4 id="2021_5">2021秋组队训练赛第十一场<a class="headerlink" href="#2021_5" title="Permanent link">&para;</a></h4>
<h5 id="b-collatz-conjecture"><a href="http://icpc.upc.edu.cn/problem.php?cid=2964&amp;pid=1">问题 B: Collatz Conjecture</a><a class="headerlink" href="#b-collatz-conjecture" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：GCD 性质</li>
</ul>
<h5 id="g-hoarse-horses"><a href="http://icpc.upc.edu.cn/problem.php?cid=2964&amp;pid=6">问题 G: Hoarse Horses</a><a class="headerlink" href="#g-hoarse-horses" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：计算几何+图的性质</li>
</ul>
<h5 id="k-lemonade-trade"><a href="http://icpc.upc.edu.cn/problem.php?cid=2964&amp;pid=10">问题 K: Lemonade Trade</a><a class="headerlink" href="#k-lemonade-trade" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：数学，乘法---对数变换---&gt;加法</li>
</ul>
<h5 id="l-manhattan-mornings"><a href="http://icpc.upc.edu.cn/problem.php?cid=2964&amp;pid=11">问题 L: Manhattan Mornings</a><a class="headerlink" href="#l-manhattan-mornings" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：最大上升子序列</li>
</ul>
<h5 id="h-irrational-division"><a href="http://icpc.upc.edu.cn/problem.php?cid=2964&amp;pid=7">问题 H: Irrational Division</a><a class="headerlink" href="#h-irrational-division" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：规律题</li>
</ul>
<h4 id="2021_6">2021秋组队训练赛第九场<a class="headerlink" href="#2021_6" title="Permanent link">&para;</a></h4>
<h5 id="h-prime-set"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=7">问题 H: Prime Set</a><a class="headerlink" href="#h-prime-set" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：二分图匹配+匈牙利网路</li>
</ul>
<h5 id="g-numbersi"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=6">问题 G: NumbersI</a><a class="headerlink" href="#g-numbersi" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：Java高精度+贪心</li>
</ul>
<h5 id="c-crusaders-quest"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=2">问题 C: Crusaders Quest</a><a class="headerlink" href="#c-crusaders-quest" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串</li>
</ul>
<h5 id="e-string-of-ccpc"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=4">问题 E: String of CCPC</a><a class="headerlink" href="#e-string-of-ccpc" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串</li>
</ul>
<h5 id="l-one-dimensional-maze"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=11">问题 L: One-Dimensional Maze</a><a class="headerlink" href="#l-one-dimensional-maze" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：前后缀</li>
</ul>
<h5 id="a-balloon-robot"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=0">问题 A: Balloon Robot</a><a class="headerlink" href="#a-balloon-robot" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：前后缀</li>
</ul>
<h5 id="m-safest-buildings"><a href="http://icpc.upc.edu.cn/problem.php?cid=2960&amp;pid=12">问题 M: Safest Buildings</a><a class="headerlink" href="#m-safest-buildings" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：计算几何</li>
</ul>
<h4 id="2021_7">2021秋组队训练赛第八场<a class="headerlink" href="#2021_7" title="Permanent link">&para;</a></h4>
<h5 id="f-hopscotch"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=5">问题 F: Hopscotch</a><a class="headerlink" href="#f-hopscotch" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：多源最短路</li>
</ul>
<h5 id="h-letter-wheels"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=7">问题 H: Letter Wheels</a><a class="headerlink" href="#h-letter-wheels" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串哈希</li>
</ul>
<h5 id="g-icpc-camp"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=6">问题 G: ICPC Camp</a><a class="headerlink" href="#g-icpc-camp" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：二分+匹配</li>
</ul>
<h5 id="k-rooted-subtrees"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=10">问题 K: Rooted Subtrees</a><a class="headerlink" href="#k-rooted-subtrees" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：LCA+ST倍增</li>
</ul>
<h5 id="b-mini-battleship"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=1">问题 B: Mini Battleship</a><a class="headerlink" href="#b-mini-battleship" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：搜索</li>
</ul>
<h5 id="d-all-kill"><a href="http://icpc.upc.edu.cn/problem.php?cid=2958&amp;pid=3">问题 D: All Kill</a><a class="headerlink" href="#d-all-kill" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：概率论+打表/找规律</li>
</ul>
<h4 id="2021_8">2021秋组队训练赛第七场<a class="headerlink" href="#2021_8" title="Permanent link">&para;</a></h4>
<h5 id="a-anagram"><a href="http://icpc.upc.edu.cn/problem.php?cid=2956&amp;pid=0">问题 A: Anagram</a><a class="headerlink" href="#a-anagram" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串模拟</li>
</ul>
<h5 id="c-cities"><a href="http://icpc.upc.edu.cn/problem.php?cid=2956&amp;pid=2">问题 C: Cities</a><a class="headerlink" href="#c-cities" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：最小生成树</li>
</ul>
<h5 id="f-four-tuples"><a href="http://icpc.upc.edu.cn/problem.php?cid=2956&amp;pid=5">问题 F: Four-tuples</a><a class="headerlink" href="#f-four-tuples" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：容斥原理</li>
</ul>
<h5 id="b-bullet"><a href="http://icpc.upc.edu.cn/problem.php?cid=2956&amp;pid=1">问题 B: Bullet</a><a class="headerlink" href="#b-bullet" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：二分+二分图匹配</li>
</ul>
<h5 id="g-games"><a href="http://icpc.upc.edu.cn/problem.php?cid=2956&amp;pid=6">问题 G: Games</a><a class="headerlink" href="#g-games" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：博弈论+动态规划</li>
</ul>
<h4 id="2021_9">2021秋组队训练赛第六场<a class="headerlink" href="#2021_9" title="Permanent link">&para;</a></h4>
<h5 id="l-mixtape-management"><a href="http://icpc.upc.edu.cn/problem.php?cid=2954&amp;pid=11">问题 L: Mixtape Management</a><a class="headerlink" href="#l-mixtape-management" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串构造题目</li>
</ul>
<h5 id="a-adolescent-architecture"><a href="http://icpc.upc.edu.cn/problem.php?cid=2953&amp;pid=0">问题 A: Adolescent Architecture</a><a class="headerlink" href="#a-adolescent-architecture" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：排序</li>
</ul>
<h5 id="b-bookshelf-building"><a href="http://icpc.upc.edu.cn/problem.php?cid=2953&amp;pid=1">问题 B: Bookshelf Building</a><a class="headerlink" href="#b-bookshelf-building" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：动态规划</li>
</ul>
<h5 id="j-knightly-knowledge"><a href="http://icpc.upc.edu.cn/problem.php?cid=2953&amp;pid=9">问题 J: Knightly Knowledge</a><a class="headerlink" href="#j-knightly-knowledge" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：二分查找</li>
</ul>
<h5 id="k-lexicographical-lecturing"><a href="http://icpc.upc.edu.cn/problem.php?cid=2953&amp;pid=10">问题 K: Lexicographical Lecturing</a><a class="headerlink" href="#k-lexicographical-lecturing" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：思维+字符串</li>
</ul>
<h5 id="c-decorative-dominoes"><a href="http://icpc.upc.edu.cn/problem.php?cid=2954&amp;pid=2">问题 C: Decorative Dominoes</a><a class="headerlink" href="#c-decorative-dominoes" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：二分图的匹配</li>
</ul>
<h5 id="f-gravity-grid"><a href="http://icpc.upc.edu.cn/problem.php?cid=2954&amp;pid=5">问题 F: Gravity Grid</a><a class="headerlink" href="#f-gravity-grid" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：大模拟</li>
</ul>
<h4 id="2021_10">2021秋组队训练赛第五场<a class="headerlink" href="#2021_10" title="Permanent link">&para;</a></h4>
<h5 id="c-safe-distance"><a href="http://icpc.upc.edu.cn/problem.php?cid=2951&amp;pid=2">问题 C: Safe Distance</a><a class="headerlink" href="#c-safe-distance" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：并查集</li>
</ul>
<h5 id="g-decoration"><a href="http://icpc.upc.edu.cn/problem.php?cid=2951&amp;pid=6">问题 G: Decoration</a><a class="headerlink" href="#g-decoration" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：图论+数论</li>
</ul>
<h5 id="i-emails"><a href="http://icpc.upc.edu.cn/problem.php?cid=2951&amp;pid=8">问题 I: Emails</a><a class="headerlink" href="#i-emails" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：BFS，无向图直径</li>
</ul>
<h5 id="k-unique-activities"><a href="http://icpc.upc.edu.cn/problem.php?cid=2951&amp;pid=10">问题 K: Unique Activities</a><a class="headerlink" href="#k-unique-activities" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串+二分check</li>
</ul>
<h4 id="2021_11">2021秋组队训练赛第四场<a class="headerlink" href="#2021_11" title="Permanent link">&para;</a></h4>
<h5 id="f-fair-distribution"><a href="http://icpc.upc.edu.cn/problem.php?cid=2949&amp;pid=5">问题 F: Fair Distribution</a><a class="headerlink" href="#f-fair-distribution" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：数论+整数分块</li>
</ul>
<h4 id="2021_12">2021秋组队训练赛第三场<a class="headerlink" href="#2021_12" title="Permanent link">&para;</a></h4>
<h5 id="e-interview-queue"><a href="http://icpc.upc.edu.cn/problem.php?cid=2947&amp;pid=4">问题 E: Interview Queue</a><a class="headerlink" href="#e-interview-queue" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：STL+模拟</li>
</ul>
<h5 id="f-conquest"><a href="http://icpc.upc.edu.cn/problem.php?cid=2947&amp;pid=5">问题 F: Conquest</a><a class="headerlink" href="#f-conquest" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：优先队列+BFS</li>
</ul>
<h5 id="h-antimatter-rain"><a href="http://icpc.upc.edu.cn/problem.php?cid=2947&amp;pid=7">问题 H: Antimatter Rain</a><a class="headerlink" href="#h-antimatter-rain" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：扫描线+线段树</li>
</ul>
<h5 id="j-pegs-and-legs"><a href="http://icpc.upc.edu.cn/problem.php?cid=2947&amp;pid=9">问题 J: Pegs and Legs</a><a class="headerlink" href="#j-pegs-and-legs" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：图论+概率论</li>
</ul>
<h4 id="2021_13">2021秋组队训练赛第二场<a class="headerlink" href="#2021_13" title="Permanent link">&para;</a></h4>
<h5 id="a-three-axis-views"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=0">问题 A: Three-Axis Views</a><a class="headerlink" href="#a-three-axis-views" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：三视图模拟</li>
</ul>
<h5 id="b-secrets-of-legendary-treasure"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=1">问题 B: Secrets of Legendary Treasure</a><a class="headerlink" href="#b-secrets-of-legendary-treasure" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：构造+模拟题目</li>
</ul>
<h5 id="e-jewelry-size"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=4">问题 E: Jewelry Size</a><a class="headerlink" href="#e-jewelry-size" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：计算几何</li>
</ul>
<h5 id="g-to-be-connected-or-not-to-be-that-is-the-question"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=6">问题 G: To be Connected, or not to be, that is the Question</a><a class="headerlink" href="#g-to-be-connected-or-not-to-be-that-is-the-question" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：并查集的撤销</li>
</ul>
<h5 id="h-lcm-of-gcds"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=7">问题 H: LCM of GCDs</a><a class="headerlink" href="#h-lcm-of-gcds" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：线段树+GCD&amp;LCM性质</li>
</ul>
<h5 id="i-high-tech-detective"><a href="http://icpc.upc.edu.cn/problem.php?cid=2946&amp;pid=8">问题 I: High-Tech Detective</a><a class="headerlink" href="#i-high-tech-detective" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串+动态规划</li>
</ul>
<h5 id="j-formica-sokobanica"><a href="http://icpc.upc.edu.cn/problem.php?cid=2945&amp;pid=9">问题 J: Formica Sokobanica</a><a class="headerlink" href="#j-formica-sokobanica" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：搜索</li>
</ul>
<h4 id="2021_14">2021秋组队训练赛第一场<a class="headerlink" href="#2021_14" title="Permanent link">&para;</a></h4>
<h5 id="f-agamemnons-odyssey"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=5">问题 F: Agamemnon’s Odyssey</a><a class="headerlink" href="#f-agamemnons-odyssey" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：树的直径</li>
</ul>
<h5 id="d-substring-characters"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=3">问题 D: Substring Characters</a><a class="headerlink" href="#d-substring-characters" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：字符串</li>
</ul>
<h5 id="j-ada-loveslaces"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=9">问题 J: Ada Loveslaces</a><a class="headerlink" href="#j-ada-loveslaces" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：状压</li>
</ul>
<h5 id="i-staggering-to-the-finish"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=8">问题 I: Staggering to the Finish</a><a class="headerlink" href="#i-staggering-to-the-finish" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：计算几何，有点难</li>
</ul>
<h5 id="k-icpc-record-matching"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=10">问题 K: ICPC Record Matching</a><a class="headerlink" href="#k-icpc-record-matching" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：字符串哈希，模拟</li>
</ul>
<h5 id="a-logdb"><a href="http://icpc.upc.edu.cn/problem.php?cid=2943&amp;pid=0">问题 A: LogDB</a><a class="headerlink" href="#a-logdb" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled/> 算法：字符串模拟</li>
</ul>
<h5 id="b-ride-hailing"><a href="http://icpc.upc.edu.cn/problem.php?cid=2944&amp;pid=1">问题 B: Ride-Hailing</a><a class="headerlink" href="#b-ride-hailing" title="Permanent link">&para;</a></h5>
<ul class="task-list">
<li class="task-list-item"><input type="checkbox" disabled checked/> 算法：图匹配+最大流Dinic算法</li>
</ul>
<h4 id="202152">2021个人训练赛第52场<a class="headerlink" href="#202152" title="Permanent link">&para;</a></h4>
<h5 id="c"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=2">问题 C: 抢占城堡</a><a class="headerlink" href="#c" title="Permanent link">&para;</a></h5>
<p>算法：直接搜索，注意有坑！！！</p>
<h5 id="h"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=7">问题 H: 包含</a><a class="headerlink" href="#h" title="Permanent link">&para;</a></h5>
<p>算法：字典树+搜素</p>
<h5 id="k-gcd"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=10">问题 K: GCD</a><a class="headerlink" href="#k-gcd" title="Permanent link">&para;</a></h5>
<p>算法：质因数</p>
<h5 id="b"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=1">问题 B: 放牛奶的冰箱</a><a class="headerlink" href="#b" title="Permanent link">&para;</a></h5>
<p>算法：未知，还没补，qaq，可以暴力或二分试试</p>
<h5 id="i-reverse-and-compare"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=8">问题 I: Reverse and Compare</a><a class="headerlink" href="#i-reverse-and-compare" title="Permanent link">&para;</a></h5>
<p>算法：规律题，给个样例提示：abca，暂时还没补</p>
<h5 id="j-fountain-walk"><a href="http://icpc.upc.edu.cn/problem.php?cid=2941&amp;pid=9">问题 J: Fountain Walk</a><a class="headerlink" href="#j-fountain-walk" title="Permanent link">&para;</a></h5>
<p>算法：最大上升子序列，可以先放一放，我还没补出来，qaq</p>
<h4 id="202151">2021个人训练赛第51场<a class="headerlink" href="#202151" title="Permanent link">&para;</a></h4>
<h5 id="b-getting-difference"><a href="http://icpc.upc.edu.cn/problem.php?cid=2939&amp;pid=1">问题 B: Getting Difference</a><a class="headerlink" href="#b-getting-difference" title="Permanent link">&para;</a></h5>
<p>算法：思维+数论</p>
<h5 id="c_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2939&amp;pid=2">问题 C: 野牛与狼</a><a class="headerlink" href="#c_1" title="Permanent link">&para;</a></h5>
<p>算法：前缀+思维</p>
<h5 id="d"><a href="http://icpc.upc.edu.cn/problem.php?cid=2939&amp;pid=3">问题 D: 老死不相往来</a><a class="headerlink" href="#d" title="Permanent link">&para;</a></h5>
<p>算法：离散化</p>
<h5 id="g-cow-lineup-i"><a href="http://icpc.upc.edu.cn/problem.php?cid=2939&amp;pid=6">问题 G: Cow Lineup I</a><a class="headerlink" href="#g-cow-lineup-i" title="Permanent link">&para;</a></h5>
<p>算法：二分或者暴力</p>
<h5 id="k-painting-the-fence"><a href="http://icpc.upc.edu.cn/problem.php?cid=2939&amp;pid=10">问题 K: Painting the Fence</a><a class="headerlink" href="#k-painting-the-fence" title="Permanent link">&para;</a></h5>
<p>算法：离散化+前缀</p>
<h4 id="202150">2021个人训练赛第50场<a class="headerlink" href="#202150" title="Permanent link">&para;</a></h4>
<h5 id="c_2"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=2">问题 C: 牛牛的方程式</a><a class="headerlink" href="#c_2" title="Permanent link">&para;</a></h5>
<p>算法：签到题，数论</p>
<h5 id="m-milk-routing"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=12">问题 M: Milk Routing</a><a class="headerlink" href="#m-milk-routing" title="Permanent link">&para;</a></h5>
<p>算法：图论，最短路，搜素</p>
<h5 id="d_1"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=3">问题 D: 牛牛的猜球游戏</a><a class="headerlink" href="#d_1" title="Permanent link">&para;</a></h5>
<p>算法：思维题目</p>
<h5 id="a-lh"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=0">问题 A: LH 撸串串</a><a class="headerlink" href="#a-lh" title="Permanent link">&para;</a></h5>
<p>算法：无脑暴力</p>
<h5 id="j-moderate-differences"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=9">问题 J: Moderate Differences</a><a class="headerlink" href="#j-moderate-differences" title="Permanent link">&para;</a></h5>
<p>算法：思维+枚举</p>
<h5 id="k-biscuits"><a href="http://icpc.upc.edu.cn/problem.php?cid=2937&amp;pid=10">问题 K: Biscuits</a><a class="headerlink" href="#k-biscuits" title="Permanent link">&para;</a></h5>
<p>算法：动态规划/组合数学</p>
<h4 id="202149">2021个人训练赛第49场<a class="headerlink" href="#202149" title="Permanent link">&para;</a></h4>
<h5 id="a-rectangle"><a href="http://icpc.upc.edu.cn/problem.php?cid=2935&amp;pid=0">问题 A: &plusmn; Rectangle</a><a class="headerlink" href="#a-rectangle" title="Permanent link">&para;</a></h5>
<p>算法：比较难的构造题，不过模拟也可以过，额</p>
<h5 id="h-wifi-setup"><a href="http://icpc.upc.edu.cn/problem.php?cid=2935&amp;pid=7">问题 H: Wifi Setup</a><a class="headerlink" href="#h-wifi-setup" title="Permanent link">&para;</a></h5>
<p>算法：DP？可能是吧</p>
<h5 id="j-shrinking"><a href="http://icpc.upc.edu.cn/problem.php?cid=2935&amp;pid=9">问题 J: Shrinking</a><a class="headerlink" href="#j-shrinking" title="Permanent link">&para;</a></h5>
<p>算法：字符串</p>
<h5 id="g-colorful-hats"><a href="http://icpc.upc.edu.cn/problem.php?cid=2935&amp;pid=6">问题 G: Colorful Hats</a><a class="headerlink" href="#g-colorful-hats" title="Permanent link">&para;</a></h5>
<p>算法：未知，还没补出来，<img alt="😳" class="emojione" src="https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/png/1f633.png" title=":flushed:" /></p>
<h5 id="d-scrambled-letters"><a href="http://icpc.upc.edu.cn/problem.php?cid=2936&amp;pid=3">问题 D: Scrambled Letters</a><a class="headerlink" href="#d-scrambled-letters" title="Permanent link">&para;</a></h5>
<p>算法：未知，还没补出来，<img alt="😳" class="emojione" src="https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/png/1f633.png" title=":flushed:" /></p>
<h4 id="202148">2021个人训练赛第48场<a class="headerlink" href="#202148" title="Permanent link">&para;</a></h4>
<h5 id="f"><a href="http://icpc.upc.edu.cn/problem.php?cid=2933&amp;pid=5">问题F：括号序列</a><a class="headerlink" href="#f" title="Permanent link">&para;</a></h5>
<p>算法：栈的应用</p>
<h5 id="l-a-oror-b-problem"><a href="http://icpc.upc.edu.cn/problem.php?cid=2933&amp;pid=11">问题 L: A or...or B Problem</a><a class="headerlink" href="#l-a-oror-b-problem" title="Permanent link">&para;</a></h5>
<p>算法：思维，位运算</p>
<h5 id="h-nuske-vs-phantom-thnook"><a href="http://icpc.upc.edu.cn/problem.php?cid=2934&amp;pid=7">问题 H: Nuske vs Phantom Thnook</a><a class="headerlink" href="#h-nuske-vs-phantom-thnook" title="Permanent link">&para;</a></h5>
<p>算法：前缀和、树的性质</p>
<h5 id="k"><a href="http://icpc.upc.edu.cn/problem.php?cid=2933&amp;pid=10">问题 K: 字母金字塔</a><a class="headerlink" href="#k" title="Permanent link">&para;</a></h5>
<p>算法：大模拟，可以先放一放</p>
<script>
    console.log("Hello World!");
</script>

<script>
    console.log("你好啊！");
</script>





                
              </article>
            </div>
          
          
        </div>
        
          <button type="button" class="md-top md-icon" data-md-component="top" hidden>
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
            回到页面顶部
          </button>
        
      </main>
      
        <footer class="md-footer">
  
    
      
      <nav class="md-footer__inner md-grid" aria-label="页脚" >
        
          
          <a href="../icpc/kuangbin%E6%A8%A1%E6%9D%BF/" class="md-footer__link md-footer__link--prev" aria-label="上一页: kuangbin模板" rel="prev">
            <div class="md-footer__button md-icon">
              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
            </div>
            <div class="md-footer__title">
              <span class="md-footer__direction">
                上一页
              </span>
              <div class="md-ellipsis">
                kuangbin模板
              </div>
            </div>
          </a>
        
        
          
          <a href="../course/%E5%9B%BE%E4%BC%98%E7%AE%97%E6%B3%95%E7%AC%94%E8%AE%B0/" class="md-footer__link md-footer__link--next" aria-label="下一页: 图优算法笔记" rel="next">
            <div class="md-footer__title">
              <span class="md-footer__direction">
                下一页
              </span>
              <div class="md-ellipsis">
                图优算法笔记
              </div>
            </div>
            <div class="md-footer__button md-icon">
              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4Z"/></svg>
            </div>
          </a>
        
      </nav>
    
  
  <div class="md-footer-meta md-typeset">
    <div class="md-footer-meta__inner md-grid">
      <div class="md-copyright">
  
  
    Made with
    <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
      Material for MkDocs
    </a>
  
</div>
      
    </div>
  </div>
</footer>
      
    </div>
    <div class="md-dialog" data-md-component="dialog">
      <div class="md-dialog__inner md-typeset"></div>
    </div>
    
    <script id="__config" type="application/json">{"base": "..", "features": ["navigation.tabs", "navigation.top", "navigation.footer", "content.code.copy", "content.code.select", "content.code.annotate"], "search": "../assets/javascripts/workers/search.208ed371.min.js", "translations": {"clipboard.copied": "\u5df2\u590d\u5236", "clipboard.copy": "\u590d\u5236", "search.result.more.one": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.more.other": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 # \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.none": "\u6ca1\u6709\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.one": "\u627e\u5230 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.other": "# \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.placeholder": "\u952e\u5165\u4ee5\u5f00\u59cb\u641c\u7d22", "search.result.term.missing": "\u7f3a\u5c11", "select.version": "\u9009\u62e9\u5f53\u524d\u7248\u672c"}}</script>
    
    
      <script src="../assets/javascripts/bundle.b4d07000.min.js"></script>
      
        <script src="../js/extra.js"></script>
      
        <script src="../js/baidu-tongji.js"></script>
      
        <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML"></script>
      
    
  </body>
</html>